﻿/*****************************************************************
// Copyright (C)
// All rights reserved.
// 
// Author:       WYQ
// Create Date:  2012-8-16 15:01:10
// Usage: 持久化模型
*****************************************************************/
using System;
using System.ComponentModel.DataAnnotations;


namespace Portal
{

    [Serializable]
    public partial class Product:Entity,IProduct
    {   
    
    
        [StringLength(255, ErrorMessage = "'NameEn'字符过长")]
        public virtual string NameEn {get;set;}
        
    
    
        [StringLength(255, ErrorMessage = "'Name'字符过长")]
        public virtual string Name {get;set;}
        
    
    
        [StringLength(255, ErrorMessage = "'CategoryId'字符过长")]
        public virtual string CategoryId {get;set;}
        
    
    
        public virtual string DescriptionEn {get;set;}
        
    
    
        public virtual string Description {get;set;}
        
    
    
        [StringLength(255, ErrorMessage = "'BigImage'字符过长")]
        public virtual string BigImage {get;set;}
        
    
    
        [StringLength(255, ErrorMessage = "'NormalImage'字符过长")]
        public virtual string NormalImage {get;set;}
        
    
    
        [StringLength(255, ErrorMessage = "'SmallImage'字符过长")]
        public virtual string SmallImage {get;set;}
        
    
    
        [StringLength(255, ErrorMessage = "'ModelEn'字符过长")]
        public virtual string ModelEn {get;set;}
        
    
    
        [StringLength(255, ErrorMessage = "'Model'字符过长")]
        public virtual string Model {get;set;}
        
    
    
        public virtual bool IsRecommend {get;set;}
        
    
    
        public virtual long Sort {get;set;}
        
    
    
        [StringLength(255, ErrorMessage = "'Code'字符过长")]
        public virtual string Code {get;set;}
        
    
    
        [StringLength(255, ErrorMessage = "'Culture'字符过长")]
        public virtual string Culture {get;set;}
        
    
    
        public virtual decimal Price {get;set;}
        
    
    
        public virtual decimal DiscountPrice {get;set;}
        
    
    
        public virtual long StockNumber {get;set;}
        
    
    
        public virtual long SoldNumber {get;set;}
        
    
    
        public virtual string Overview {get;set;}
        
    
    
        public virtual string OverviewEn {get;set;}
        
    
    
        public virtual string Parameters {get;set;}
        
    
    
        public virtual string ParametersEn {get;set;}
        
    }
   }



